package com.qiyu.tech.design.starter;

/**
 * @Author linhao
 * @Date created in 6:24 下午 2021/1/13
 */
public class TestServiceImpl implements TestService {

    @Override
    public void doTest(int i) {
        System.out.println("测试接口");
        //当出现异常的时候就会对外抛出
        int result = 10 / i;
    }

    public static void main(String[] args) {

    }
}
